#pragma once
#include "net_tcp/client.h"
#include "net_tcp/session.h"
#include "defines.h"

class tcp_client : public net_tcp::client, public session_callback
{
public:
	tcp_client(asio::io_context& context);
protected:
    void on_connected() override;
	void on_disconnected() override;
	void on_recv() override;
	void on_error() override;
};

